package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.dto.request.QueryRoleDto;
import com.huaxiafinance.management.model.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleMapper {
	int insert(Role role);

	List<Role> queryRole(QueryRoleDto dto);

	List<Role> roleList();
	
	int delRole(Integer id);

	int updateRole(Role role);
	Integer selectisDesensitization(@Param("id")Integer id);
}
